package com.kbs.pay.management.model;

import java.io.Serializable;
import java.util.Date;

/**
 * @Author: jianchen
 * @Date: 2019/6/21 15:23
 * @Description: 商户账户详情
 */
public class MerchantDetail implements Serializable {
    /**
     * 商户详情id
     */
    private Long merchantDetailId;

    /**
     * 商户账户id
     */
    private Long merchantAccountId;

    /**
     * 1 微信 2 支付宝
     */
    private Integer merchantAccountType;

    /**
     * 支付appid
     */
    private String zfbAppid;

    /**
     * 支付宝秘钥
     */
    private String zfbKey;

    /**
     * 微信商户id
     */
    private String wxMerchantId;

    /**
     * 微信证书
     */
    private String wxCertificate;

    /**
     * 银行卡号
     */
    private String bankNo;

    /**
     * 所属银行
     */
    private String bankName;

    /**
     * 银行所在地
     */
    private String bankAddress;

    /**
     * 创建时间
     */
    private Date createTime;

    /**
     * 创建人
     */
    private Long createBy;

    /**
     * 修改人
     */
    private Long updateBy;

    /**
     * 修改时间
     */
    private Date updateTime;

    /**
     *
     */
    private Boolean isDelete;

    private static final long serialVersionUID = 1L;

    public Long getMerchantDetailId() {
        return merchantDetailId;
    }

    public void setMerchantDetailId(Long merchantDetailId) {
        this.merchantDetailId = merchantDetailId;
    }

    public Long getMerchantAccountId() {
        return merchantAccountId;
    }

    public void setMerchantAccountId(Long merchantAccountId) {
        this.merchantAccountId = merchantAccountId;
    }

    public Integer getMerchantAccountType() {
        return merchantAccountType;
    }

    public void setMerchantAccountType(Integer merchantAccountType) {
        this.merchantAccountType = merchantAccountType;
    }

    public String getZfbAppid() {
        return zfbAppid;
    }

    public void setZfbAppid(String zfbAppid) {
        this.zfbAppid = zfbAppid;
    }

    public String getZfbKey() {
        return zfbKey;
    }

    public void setZfbKey(String zfbKey) {
        this.zfbKey = zfbKey;
    }

    public String getWxMerchantId() {
        return wxMerchantId;
    }

    public void setWxMerchantId(String wxMerchantId) {
        this.wxMerchantId = wxMerchantId;
    }

    public String getWxCertificate() {
        return wxCertificate;
    }

    public void setWxCertificate(String wxCertificate) {
        this.wxCertificate = wxCertificate;
    }

    public String getBankNo() {
        return bankNo;
    }

    public void setBankNo(String bankNo) {
        this.bankNo = bankNo;
    }

    public String getBankName() {
        return bankName;
    }

    public void setBankName(String bankName) {
        this.bankName = bankName;
    }

    public String getBankAddress() {
        return bankAddress;
    }

    public void setBankAddress(String bankAddress) {
        this.bankAddress = bankAddress;
    }

    public Date getCreateTime() {
        return createTime;
    }

    public void setCreateTime(Date createTime) {
        this.createTime = createTime;
    }

    public Long getCreateBy() {
        return createBy;
    }

    public void setCreateBy(Long createBy) {
        this.createBy = createBy;
    }

    public Long getUpdateBy() {
        return updateBy;
    }

    public void setUpdateBy(Long updateBy) {
        this.updateBy = updateBy;
    }

    public Date getUpdateTime() {
        return updateTime;
    }

    public void setUpdateTime(Date updateTime) {
        this.updateTime = updateTime;
    }

    public Boolean getIsDelete() {
        return isDelete;
    }

    public void setIsDelete(Boolean isDelete) {
        this.isDelete = isDelete;
    }

    @Override
    public String toString() {
        return "MerchantDetail{" +
                "merchantDetailId=" + merchantDetailId +
                ", merchantAccountId=" + merchantAccountId +
                ", merchantAccountType=" + merchantAccountType +
                ", zfbAppid='" + zfbAppid + '\'' +
                ", zfbKey='" + zfbKey + '\'' +
                ", wxMerchantId='" + wxMerchantId + '\'' +
                ", wxCertificate='" + wxCertificate + '\'' +
                ", bankNo='" + bankNo + '\'' +
                ", bankName='" + bankName + '\'' +
                ", bankAddress='" + bankAddress + '\'' +
                ", createTime=" + createTime +
                ", createBy=" + createBy +
                ", updateBy=" + updateBy +
                ", updateTime=" + updateTime +
                ", isDelete=" + isDelete +
                '}';
    }
}